import request from '@/utils/request'

export function queryByPage(query) {
  return request({
    url: '/nhpStationEnv/queryByPage',
    method: 'get',
    params: query
  })
}


export function queryById(query) {
  return request({
    url: '/nhpStationEnv/queryById',
    method: 'get',
    params: query
  })
}

export function updateStationEnv(data) {
  return request({
    url: '/nhpStationEnv/edit',
    method: 'post',
    data: data
  })
}

export function calculateEnvScore() {
  return request({
    url: '/nhpStationEnv/calculateEnvScore',
    method: 'get'
  })
}

export function queryEnvOverview() {
  return request({
    url: '/nhpStationEnv/queryEnvOverview',
    method: 'get'
  })
}

export function queryEnvCaculateRule() {
  return request({
    url: '/nhpStationEnv/queryEnvCaculateRule',
    method: 'get'
  })
}

export function queryPhysicalStationList(query) {
  return request({
    url: '/nhpStationEnv/queryPhysicalStationList',
    method: 'get',
    params: query
  })
}

export function queryPhysicalStationDetail(query) {
  return request({
    url: '/nhpStationEnv/queryPhysicalStationDetail',
    method: 'get',
    params: query
  })
}


